package org.hbnu.xiaomi.entity;

import java.math.BigDecimal;
import java.sql.Timestamp;
//订单类实体
public class Orders {
    public Goods goods;
    private int id;
    private int user_id;
    private int good_id;
    private String pic;
    private BigDecimal price;
    private int num;
    private int paid;
    private int paymentMethod;
    private Timestamp ordertime;

    public Orders() {
        this.id = id;
        this.user_id = user_id;
        this.good_id = good_id;
        this.pic = pic;
        this.price = price;
        this.num = num;
        this.paid = paid;
        this.paymentMethod = paymentMethod;
        this.ordertime = ordertime;
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getGood_id(int good_id) {
        return this.good_id;
    }

    public void setGood_id(int good_id) {
        this.good_id = good_id;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getPaid() {
        return paid;
    }

    public void setPaid(int paid) {
        this.paid = paid;
    }

    public int getPaymentMethod() {
        return paymentMethod;
    }

    public void setPaymentMethod(int paymentMethod) {
        this.paymentMethod = paymentMethod;
    }

    public Timestamp getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Timestamp ordertime) {
        this.ordertime = ordertime;
    }

    public int getGoodsId() {
        return good_id;

    }

    public void setGoods(Goods goods) {
    this.goods=goods;
    }


}